package com.lx.web;


import com.lx.mapper.UserMapper;
import lombok.extern.slf4j.Slf4j;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.sql.DataSource;
import java.util.List;

@Slf4j
@RestController
public class demo {

/*    @Autowired
    private DataSource dataSource;*/


    @GetMapping("hello")
    public String hello() {
        log.debug("runing");

        System.out.println("==============================");
        return "Hello springboot";
    }
}
